package com.game.logic.service;

import com.game.framework.message.protobuf.BaseProto;
import com.game.framework.message.protobuf.UserProto;

public interface LoginService {
    void test();
    BaseProto.ErrorCode login(UserProto.LoginRequest request, UserProto.LoginResponse.Builder response);

    BaseProto.ErrorCode createRole(UserProto.CreateRoleRequest request, UserProto.CreateRoleResponse.Builder response);

    BaseProto.ErrorCode updateRole(UserProto.UpdateRoleRequest request, UserProto.UpdateRoleResponse.Builder response);

    BaseProto.ErrorCode getUserInfo(UserProto.GetUserInfoRequest request, UserProto.GetUserInfoResponse.Builder response);

    BaseProto.ErrorCode getRoleInfo(UserProto.GetRoleInfoRequest request, UserProto.GetRoleInfoResponse.Builder getRoleInfoResponse);

    BaseProto.ErrorCode enterGame(UserProto.EnterGameRequest request, UserProto.EnterGameResponse.Builder enterGameResponse);

    BaseProto.ErrorCode exitGame(UserProto.ExitGameRequest request, UserProto.ExitGameResponse.Builder response);
}
